
package com.tyut.common.utils;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "jwt")
public class JwtProperties {
    private String adminSecretKey;
    private Long adminTtl;

    public String getAdminSecretKey() {
        return adminSecretKey;
    }

    public void setAdminSecretKey(String adminSecretKey) {
        this.adminSecretKey = adminSecretKey;
    }

    public Long getAdminTtl() {
        return adminTtl;
    }

    public void setAdminTtl(Long adminTtl) {
        this.adminTtl = adminTtl;
    }
}
